// 招生管理
export default [
    {
        path: "/recruitstudents",
        redirect: "/recruitstudents/enrollmentplan",
        alwaysShow: false, // will always show the root menu
        name: "enrollmentplan",
        meta: {
            title: "招生管理",
            icon: "icon-zhaoshengguanli",
            roles: ["admin"], // you can set roles in root nav
        },
        children: [
            {
                path: "enrollmentplan",
                component: () => import("@/views/RecruitStudents/Enrollmentplan.vue"),
                name: "Enrollmentplan",
                meta: {
                    title: "招生计划",
                    roles: ["admin"], // or you can only set roles in sub nav
                },
            },
            {
                path: "/recruitstudents/enrollmentmanagement",
                component: () => import("@/views/RecruitStudents/Enrollmentmanagement.vue"),
                name: "/RecruitStudents/Enrollmentmanagement",
                meta: {
                    title: "报名管理",
                    roles: ["admin"], // or you can only set roles in sub nav
                },
            },
            {
                path: "/recruitstudents/newpage",
                component: () => import("@/views/RecruitStudents/Newpage.vue"),
                name: "/Newpage",
                meta: {
                    title: "新建",
                    roles: ["admin"], // or you can only set roles in sub nav
                },
                hidden: true,
            },
            {
                path: "editpage",
                component: () => import("@/views/RecruitStudents/Editpage.vue"),
                name: "Editpage",
                meta: {
                  title: "修改",
                  roles: ["admin"], // or you can only set roles in sub nav
                },
                hidden: true,
              },
        ]
    }
]